import request from '@/utils/request'

export const userRegisterService = ({
  userAccount,
  userPassword,
  checkPassword
}) =>
  request.post('/api/user/register', {
    userAccount,
    userPassword,
    checkPassword
  })

export const userLoginService = ({ userAccount, userPassword }) =>
  request.post('/api/user/login', { userAccount, userPassword })
